<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .move {
            transition: all .3s;
        }
        .box {
            overflow: hidden;
            position: relative;
            width: 768px;
            height: 542px;
            background-color: pink;
            margin: 50px auto;
        }
        .mask {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        .info {
            position: absolute;
            bottom: -80px;
            left: 0;
            box-sizing: border-box;
            color: #fff;
            width: 100%;
            padding: 30px 50px;
        }
        .info h2 {
            margin-bottom: 80px;
        }
        .box:hover img {
            transform: scale(1.1);
        }
        .box:hover .mask {
            /* 渐变色不能使用 过渡 效果 */
            background-image: linear-gradient(transparent, rgba(0, 0, 0, .8));
        }
        .box:hover .info {
            bottom: 0;
        }
    </style>
</head>
<body>
    <div class="box">
        <img src="./images/product.jpg" alt="" class="move">
        <div class="mask move"></div>
        <div class="info move">
            <span>智能体</span>
            <h2>打造行业智能体，共建全场景智慧</h2>
            <a href="#">了解更多</a>
        </div>
    </div>
</body>
</html>